package com.quanyan.comment.model.vo;

import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/6/1.
 */
public class MenuVo implements Serializable{


    @NotBlank(message = "name不能为空")
    private String name;

    private String url;

    @NotBlank(message = "status不能为空 1 启用 0 禁用")
    private Integer status;

    @NotBlank(message = "parentId 1 启用 0 禁用")
    private Integer parentId;

    private String remark;

    private Integer displayOrder;

    private Integer founderId;

    private String founderName;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getDisplayOrder() {
        return displayOrder;
    }

    public void setDisplayOrder(Integer displayOrder) {
        this.displayOrder = displayOrder;
    }


    public Integer getFounderId() {
        return founderId;
    }

    public void setFounderId(Integer founderId) {
        this.founderId = founderId;
    }

    public String getFounderName() {
        return founderName;
    }

    public void setFounderName(String founderName) {
        this.founderName = founderName;
    }

    @Override
    public String toString() {
        return "MenuVo{" +
                "name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", status=" + status +
                ", parentId=" + parentId +
                ", remark='" + remark + '\'' +
                ", displayOrder=" + displayOrder +
                '}';
    }
}
